
public class MatchUp {
	private Team TeamA;
	private Team TeamB;
	private int GameScoreA;
	private int GameScoreB;
	
	public MatchUp() {
		
	}
	
	public MatchUp(Team A, int ScoreA, Team B, int ScoreB) {
		TeamA = A;
		GameScoreA = ScoreA;
		TeamB = B;
		GameScoreB = ScoreB;
	}
	
	public String GetMatchDetailTeamA() {
		String InfoTeamA = TeamA.GetTeamName() + " " + TeamA.GetStreak() + " " + GameScoreA;
		return InfoTeamA;
	}
	
	public String GetMatchDetailTeamB() {
		String InfoTeamB = TeamB.GetTeamName() + " " + TeamB.GetStreak() + " " + GameScoreB;
		return InfoTeamB;
	}
	
	public Team getTeam(char whichTeam) {
		Team returnTeam = new Team();
		if (whichTeam == 'A') {
			returnTeam = TeamA;
		}
		else if (whichTeam == 'B') {
			returnTeam = TeamB;
		}
		return returnTeam;
	}
	
	public int getTeamScore(char whichTeam) {
		int score = 0;
		if (whichTeam == 'A') {
			score = GameScoreA;
		} else if (whichTeam == 'B') {
			score = GameScoreB;
		}
		return score;
	}
	
}
